<!DOCTYPE html PUBLIC "-//W3C//Dtr XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/Dtr/xhtml1-transitional.dtr">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Free CSS Template for Music Websites</title>
<meta name="keywords" content="Free CSS Template, Website Templates, Music Websites" />
<meta name="description" content="Free CSS Template for Music Websites" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
</head>
<body>

<form  action="searchLogic.php" method="GET">

<div id="templatemo_container">

	<div id="templatemo_header">
    	<div id="templatemo_title">
            <div id="templatemo_sitetitle">Movies<span>Rental</span></div>
        </div>
        
        <div id="templatemo_login">
        	<form method="get" action="searchLogic.php">
                <label>Search:</label><input class="inputfield" name="keyword" type="text" id="keyword"/>
                <input class="button" type="submit" name="Search" value="Search" />
            </form>
        </div>
    </div>

	<div id="templatemo_banner">
       	<div id="templatemo_banner_text">
            <div id="banner_title">Welcome To Movies Rental</div>
            <p>
            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc quis sem nec tellus blandit tincidunt. Duis vitae velit sed dui malesuada dignissim. Donec mollis aliquet ligula. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc quis sem nec tellus blandit tincidunt.
            </p>
            <div class="more_button"><a href="#">Read More</a></div>
    	</div>
	</div>
    
    <div id="templatemo_menu">
     	<ul>
			<li><a href="index.php">Main Page</a></li>
			<li><a href="movies.php">Movies</a></li> 
			<li><a href="search.php"  class="current">Search</a></li> 
            <li><a href="account.php">Account</a></li>    
            <li><a href="admin2.php">Admin</a></li>                       
            <li><a href="subpage.php" class="lastmenu">Contact</a></li>            
        </ul>  
    </div>
    
    <div id="templatemo_content">
    
    	<div id="templatemo_left_column">
            <h2>Customer Login</h2>
            <div class="left_col_box">
                <form method="get" action="loginLogic.php" style="text-align: right" >
				<?php
				if(!isset($_SESSION['user']))
				{
                  echo '<div class="form_row"><label>Login</label><input class="inputfield" name="loginname" type="text" id="loginname"/></div>
                    <div class="form_row"><label>Password</label><input class="inputfield" name="password" type="password" id="password"/></div>
                    <input class="button" type="submit" name="SubmitLogin" value="Login" />';
				}
				else
				{
					echo '<h3>Welcome '.$_SESSION["user"].'</h3></br><input class="button" type="submit" name="SubmitLogout" value="Logout" />';
				}
					?>
                </form>
			</div>
            
            <h2>Blog Entries</h2>
            <div class="left_col_box">
                <div class="blog_box">
                    <h3><a href="#">Curabitur quis velit quis tortor</a></h3>
                    Suspendisse vitae neque eget ante tristique vestibulum. Pellentesque vitae magna.<br />
                    Posted by <a href="#"><span>Admin</span></a> in <a href="#"><span>Videos</span></a><br />
                    14 December 2048
				</div>
                <div class="blog_box">
                    <h3><a href="#">Duis vitae velit sed dui</a></h3>
                    Pellentesque vitae magna. Suspendisse vitae neque eget ante tristique vestibulum.<br />
                    Posted by <a href="#"><span>Admin</span></a> in <a href="#"><span>Audios</span></a><br />
                    20 December 2048
				</div>
                <div class="blog_box">
                    <h3><a href="#">Donec mollis aliquet ligula</a></h3>
                    Suspendisse vitae neque eget ante tristique vestibulum.<br />
                    Posted by <a href="#"><span>Admin</span></a> in <a href="#"><span>Samples</span></a><br />
                    22 December 2048
				</div> 
                <div class="blog_box">
                    <a href="http://validator.w3.org/check?uri=referer"><img style="border:0;width:88px;height:31px" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" width="88" height="31" vspace="8" border="0" /></a>
    <a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px"  src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!" vspace="8" border="0" /></a>
				</div> 
                <div class="more_button"><a href="#">View All</a></div>                                              

			</div>
		</div>
        
        <div id="templatemo_right_column">
		<center>
            <table>
			
                <tr><td>Rok od:</td><td> <input class="inputfield" name="rokOd" type="text" id="rokOd"/></td><td> do: <input class="inputfield" name="rokDo" type="text" id="rokDo"/></td></tr>
				<tr><td>Gatunek: </td><td><select class="inputfield" name="gatunek" id="gatunek"><option value=""></option><option value="akcja">akcja</option><option value="dramat">dramat</option><option value="komedia">komedia</option><option value="horror">horror</option><option value="thriller">thriller</option><option value="psychologiczny">psychologiczny</option><option value="wojenny">wojenny</option><option value="sci-fiction">sci-fiction</option></select></td></tr>
				<tr><td>Produkcja: </td><td><input class="inputfield" name="produkcja" type="text" id="produkcja"/></td></tr>
				<tr><td>Reżyser: </td><td><input class="inputfield" name="rezyser" type="text" id="rezyser"/></td></tr>
				<tr><td>Ilość głosów: </td><td><input class="inputfield" name="iloscGlosow" type="text" id="iloscGlosow"/></td></tr>
				<tr><td>Tylko dostępne </td><td><input type="checkbox" name="dostepne" id="dostepne" checked="checked" value='1'/></td></tr>
				<tr><td><input class="button" type="submit" name="Szukaj" value="Szukaj"/></td></tr>
					
					</table>
					</center>							
		</div>
    </div>
    <!--  Designed by w w w . t e m p l a t e m o . c o m  --> 
    
	<div id="templatemo_footer">
        <a href="#">Home</a> | <a href="#">Videos</a> | <a href="#">Audios</a> | <a href="#">Albums</a> | <a href="#">Artists</a> | <a href="#">Contact</a><br />
        Copyright © 2048 <a href="#"><strong>Your Company Name</strong></a> |
        <a href="http://www.iwebsitetemplate.com" target="_parent">Website Templates</a> by <a href="http://www.templatemo.com" target="_parent">CSS Templates</a>
	</div>
</div>
  
<div align=center>This template  downloaded form <a href='http://all-free-download.com/free-website-templates/'>free website templates</a></div>

</form>
</body>
</html>